/**
 * keyof用于获取指定类型的所有键
 */
interface IMsg {
    title:string,
    level:number,
    content:string
}

type K1 = keyof IMsg  // title | level | content
type K2 = keyof Array<IMsg> // length | toString | map |filter |forEach ....
